package sample.innerCls;

interface Vehicle{
	public void drive();
}

public class VehicleCls {

	public static void main(String[]args){
		Vehicle v=new Vehicle(){

			@Override
			public void drive() {
				System.out.println("Driving a car!");
			}
			
		};
		
		v.drive();
	}
}
